package com.zzzy.doc.vo.document.my;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "获取公文可操作权限")
@Data
public class MyDocButtonRes {

    @Schema(description = "是否有编辑基本信息权限")
    @JsonProperty("isEdit")
    private boolean edit;

    @Schema(description = "是否打开PDF最终文件")
    @JsonProperty("isOpenFinalPdf")
    private boolean openFinalPdf;

    @Schema(description = "是否有删除权限")
    @JsonProperty("isDelete")
    private boolean delete;

    @Schema(description = "是否有作废权限")
    @JsonProperty("isCancel")
    private boolean cancel;

    @Schema(description = "是否有新增附件权限")
    @JsonProperty("isAddAttachment")
    private boolean addAttachment;

    @Schema(description = "是否有删除附件权限")
    @JsonProperty("isDeleteAttachment")
    private boolean deleteAttachment;

    @Schema(description = "版本比较按钮是否可点击")
    @JsonProperty("isCompareClick")
    private boolean compareClick;

    @Schema(description = "是否有申请权限")
    @JsonProperty("isApply")
    private boolean apply;

    @Schema(description = "是否有进入下一步权限")
    @JsonProperty("isNext")
    private boolean next;
}
